home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
lotery38.zip
/
LOTTERY.DOC
< prev
next >
Wrap
Text File
|
1992-01-26
|
12KB
|
269 lines
LOTTERY 3.8
===========
A Livewire BBS Game Door
PCBoard(TM) 14.5+
By
Richard Paquette
PO Box 416
Mt. Laurel, NJ 08054
(C) Copyright 1990
All Rights Reserved
Supporting PCBoard, Wildcat!, Gap, QBBS, RBBS,
Remote Access, SpitFire, WWIV plus others.
GAME DESCRIPTION!
This is a quick and simple game that allows callers to play a game of
lottery for a prize that you configure. Simply set how many times you want a
caller allowed in each day.. enter your registration number and then include
a line with the prize for winners. That's it.. then they try a pick-3 or a
pick-4 lottery game.. they can play as often as they want to once they are in
the door, but remember that "YOU" decide how many times they can open the door.
We have added couple more prizes so that callers can win when they
match either the first two or last two numbers in pick-3 and in pick-4 they
can win with the first two, last two or middle two numbers. You decide the
prizes and be sure to list them correctly in the lottery.cfg file.
In futue updates, we plan to add a pick-6 instant game along with a
pick-9 weekly winner game, where the program will pick a ramdom number once a
week and display to all entering the door who won for that week and what the
prize was they won!
The door creates a file called "intoday.dat", this file is to monitor
how many times that caller entered the door today! You set in the config file
how many times they are allowed in.
If you delete this file, no record is kept and the caller will again be
able to enter to door freely. PLEASE do not delete this file.
IMPORTANT NOTE: There is now a feature where you can let a winner of
the Pick-3 or Pick-4 download a "Coupon" to redemm at your place of business.
For example, you own a Pizza Parlor and want to give the winner a free pizza
for the Pick-3 or Pick-4, then create with any ascii editor two files called,
"coupon3.dat" and "coupon4.dat", YOU MUST LEAVE THE FIRST LINE AS IS in the
example, we will write starting on Line 1, Column 17 the Ticket Number that is
assigned to THAT WINNER! The rest of the file can be anything you want such as
a discount coupon to be mailed in for access minus the value of the coupon or
anything that you are willing to offer. NOTE: if you don't want to use this
added feature, then rename or DELETE the coupon*.dat files. If they aren't
there, the program will act as usual, if they are there, after winning, the
door will take the winner to a download screen where they can download the
coupon to be printed and redemmed at your place of business.
The Ticket number is also written to the winner3.dat and winner4.dat
files for you to compare when someone brings in a winning coupon!
You can now charge time for each Pick-3 or Pick-4 attempt, if you put
a 0 on the last line of the cfg, they will not be charged any time, if you
decide to charge time to play the game and they win, the time is given back
to them along with your prizes.
=======
CONFIGURATION FILE
C:\PCB\PCBOARD.SYS <- Path/filename to PCBOARD.SYS
The Livewire BBS <- Name of BBS
Richard <- Sysop's first name
Paquette <- Sysop's last Name
5 <- Times allowed in Door
999999 <- Registration number (or some number)
Six Month Patron Membership <- Prize for the Pick-3 game (58 char max)
Three Month Patron Membership <- Small prize to match 2 numbers (53 max)
One Year Patron Membership <- Prize for the Pick-4 game (58 char max)
Three Month Patron Membership <- Small prize to match 2 numbers (53 max)
3 <- Time charged for each try in minutes
Please note that something must be on each line.. if you do not want to offer
prizes for matching two numbers, simply put "No prize" without the quotes.
=======
LOTTERY BATCH FILE
This is the batch file whose name is entered in PCBSETUP. It should reside in
your default PCB directory. Leave this as is except for changing the paths.
ECHO OFF
E:
CD\LOTTERY
LOTTERY LOTTERY.CFG <--- Please read NOTE below
C:
CD\PCB
BOARD
NOTE: Lottery requires the presence of BRUN45.EXE either in the
same directory as Lottery or accessible via PATH. If you set
your library in autoexec.bat and all the brun files there,
then you have no problems..
SET MYLIB = C:\MYLIB
Be sure to put all your brun*.exe files in the mylib directory!
NOTE: This door is multi-node capable and the requirement is to have a
different Lottery.cfg passed on the batch file command line,
such as: Lottery Lottery1.cfg
Lottery Lottery2.cfg
Lottery Lottery3.cfg
------------------------------------
DOOR OPERATION
--------------
F3 - Toggles the printer On/Off.
Value is passed to PCBoard.
F4 - Toggles the Page Bell On/Off.
Value is passed to PCBoard.
F5 - DOS Shell. Allows SysOp to exit to DOS from inside a DOOR.
F7 - Toggles the Caller Alarm On/Off.
Value is passed to PCBoard.
F8 - Returns the caller involuntarily to PCBoard.
Without letting them know that the sysop called them back!
F9 - Toggles the local display On/Off.
Value is passed to PCBoard.
F10 - Activates SysOp CHAT mode within the DOOR.
ESC - Deactivates CHAT mode. DOOR is resumed.
HOME - HELP key for status line options.
UP - Allows the SysOp to temporarily give the caller extra time
while in the DOOR. This time is NOT passed to PCBoard.
DN - Allows the SysOp to temporarily subtract time from the
caller while in the DOOR. This time is NOT passed to PCBoard.
ALT-N - SysOp next on toggle.
Value is passed to PCBoard.
ALT-X - PCBoard will exit after current caller logs off.
Value is passed to PCBoard.
WATCHDOG/CTTY/ANSI.SYS
----------------------
CTTY and WATCHDOG are not required and should not be used with
this program. LOTTERY contains its own communication routines
which monitor the COM port. If carrier is lost, it will return
to PCBoard where the BBS will log the user off the system.
ANSI.SYS, or something similar, is required for LOTTERY to
function properly!
DISTRIBUTION
------------
LOTTERY is COPYRIGHTED by Richard Paquette, with all rights reserved.
This program is being distributed via the SHAREWARE concept and as
such, may be copied freely with the following restrictions:
* The program must be supplied in it's original
unmodified form, including documentation.
* LOTTERY may not be distributed as part of any
commercial application or service without the
express, written consent of the author.
* Vendors of Shareware/Public Domain software may
not distribute this program without the express,
written consent of the author.
REGISTRATION
------------
LOTTERY represents many hours of programming and the author
deserves just compensation for his time, efforts and expertise.
If you find this program to be of some value and you continue
to use it on your BBS system, you must return the registration
form provided along with the registration fee. Registration
entitles you to free upgrades via modem from The Livewire's Support
Conference for a period of one year. Payments should be made in
the form of a check or money order (do NOT send cash!). Foreign
orders must be in U.S. funds drawn on a U.S. bank. You may also call
The Livewire BBS and register online via Visa or Mastercard by
typing REGISTER from the Main Board.
Suggestions and/or comments may be sent to the address below or
via electronic mail:
HUBSNJ for RelayNet and Node ID is: LIVEWIRE
Richard Paquette
The Livewire BBS
Public Free Access Node: (609) 235-5297 MNP/5 - 300/1200/2400
Access to all other nodes after registering a door.
----------------------
L I V E W I R E D O O R R E G I S T R A T I O N F O R M
TO: The Livewire BBS Date___/___/___
P.O. Box 416
Mt. Laurel, NJ 08054
(Please use capitalization and punctuation where necessary.)
FROM: SysOp Name: _______________________________________________
BBS Name: _________________________________________________
Address: __________________________________________________
City: ______________________ State: __________ ZIP: _______
Voice: ( ) _________________ BBS: ( ) _________________
BBS Software: _____________________ BBS Hours: ____________
Baud Rates:________________________ (08-06)
SOFTWARE VERSION PRICE
-------- ------- -----
Lottery ........................... 3.8 ................. $ 20.00 __
Races ............................. 2.1 ................. $ 20.00 __
Wrdplay ........................... 1.6 ................. $ 20.00 __
Facts ............................. 2.4 ................. $ 20.00 __
Choice ............................ 2.0 ................. $ 20.00 __
LiveStore ......................... 3.7 ................. $ 35.00 __
Feud .............................. 1.3 ................. $ 20.00 __
Trek Trivia Online ................ 2.0 ................. $ 30.00 __
Tv Trivia ......................... 1.5 ................. $ 30.00 __
SexQuiz ........................... 1.8 ................. $ 35.00 __
Name that Tune .................... 1.9 ................. $ 30.00 __
All of the above ........................................ $225.00 __
(NJ residents add 7% tax) _____
(Foreign orders add $10.00 for shipping) _____
Total $ _____
F E E D B A C K
---------------
I learned of LOTTERY from:
[ ] - A Friend [ ] - Computer Club
[ ] - BBS [ ] - Compuserve
[ ] - GEnie [ ] - Other
COMMENTS: _____________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________